package com.sinog.front.feign.biz;

import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @desc 运维功能-数据加密 - feign
 * @author - ybl
 * @date - 2022-10-19
 */
@FeignClient("sinog2c-biz")
public interface EncryptionService {

    /**
     * 运维功能-账号加密
     * @param data 前台数据
     * @return Result
     */
    @PostMapping("/azbj/maintenance/dataEncryption")
    Result encryptionData(@RequestBody String data);
}